#include <stdio.h>
#include <string.h>

int main()
{
    char arr1[] = "wanGyimingf1";
    char arr2[] = "wangYimingF1";

    //按字节比较，比较任意数值
    size_t ret = memcmp(arr1, arr2, 5);
    printf("%zd\n", ret);
    return 0;
}